{foreach from=$list_values item=list_value}
	{if $list_value.id == $value}
		{if $displayAS}
			[[{$list_value.$displayAS|escape:"html"}]]
		{else}
			[[{$list_value.caption|escape:"html"}]]
		{/if}
	{/if}

{/foreach}